#ifndef MAIN
#define MAIN

#include <android/log.h>

#include <stdio.h>		//printf()
#include <stdlib.h>		//exit()
#include <signal.h>     //signal()


#define TAG "MyJNITag" // 自定义日志标签
#define LOGD(...) __android_log_print(ANDROID_LOG_DEBUG, TAG, __VA_ARGS__)


#include "lib/I2C/I2C.h"
#include <ctime>
#include "lib/TSL2591/TSL2591.h"
#include "lib/SGP40/SGP40.h"
#include "lib/BME280/BME280.h"
#include "lib/LTR390/LTR390.h"
#include "lib/IMU/IMU.h"


int initDevice() ;
double* getBme280Value();
float* getImuValue();

int test();
#endif 